<template>
  <view class="record">
    <view class="record-title">
      <Title icon="title-icon1" :title="title"></Title>
    </view>
    <view class="record-list">
      <view class="item" v-for="(item, idx) in list" :key="idx">
        <view class="tit">{{ item.title }}</view>
        <view class="count">{{ item.count }}</view>
      </view>
    </view>
  </view>
</template>

<script setup>
import Title from "@/components/ui/title"
const { list, title } = defineProps({
  list: Array,
  title: String,
})
</script>

<style lang="less" scoped>
@import url(./index.less);
</style>
